Audio Tag

<audio> Tag is use to use to Insert Audio File in a Webpage.

Audio Tag - Attributes

control: value: -
control attribute is use to audio controls should be Displayed.

autoplay: value: -
autoplay attribute is use to play the audio automatically when the webpage is loaded.

muted: value: -
muted attribute is use to define audio output should be muted.

loop: value: -
loop attribute is use to play again if the audio is end.

src: value: -
src attribute is use to define the sourse of the audio file.

Audio Tag - Example

<audio controls id="audio" autoplay loop>
       <source src="Faded.mp3" type="audio">
</audio>


Output